/**
 * 
 */
package org.apache.hadoop.conf;

import java.util.HashMap;
import java.util.Map;

/**
 * This class represents the Job configuration
 * 
 * This has LIMITED functionality compared to the Hadoop version, and likely to be 
 * extended in the future based on demand.
 * 
 * @author tim
 */
public class Configuration {
	// maintain all config in a Map
	protected Map<String, Object> config = new HashMap<String, Object>();
	
	/**
	 * @return the config for the key or null if not found
	 */
	public String get(String key) {
		if (config.containsKey(key)) 
			return config.get(key).toString();
		return null;
	}
}
